ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX Namespace / ComObject Class / QueryInterfaceOrNull Method / QueryInterfaceOrNull<T>() Method

In This Topic
    QueryInterfaceOrNull<T>() Method
    In This Topic
    Query Interface for a particular interface support.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function QueryInterfaceOrNull(Of T As ComObject)() As T
    public virtual T QueryInterfaceOrNull<T>()
    where T: ComObject

    Type Parameters

    T

    Return Value

    An instance of the queried interface or null if it is not supported
    See Also